from django.shortcuts import render
from django.urls import path
from . import views
# Create your views here.


app_name = 'novel'
urlpatterns = [

    path('',views.search_page,name = 'search_page'),
    
    path('search/',views.search,name='search'),

    path('search/<int:book_pk>/<int:book_id>/',views.novel_book,name='novel_book'),

    path('search/<int:book_pk>/<int:book_id>/download',views.download,name='download'),

    path('search/<int:book_pk>/<int:book_id>/<int:chapter_id>.html/',views.novel_chapter,name = 'chapter'),
        
    ]
